<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <title>我要好发网 </title>
  <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  <meta name="Generator" content="EditPlus">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <link href="/www/css/a.css" rel="stylesheet" type="text/css"/>
  <script type="text/javascript" src="/www/js/jquery.js"></script>
  <script type="text/javascript" src="/www/js/w.js"></script>
 </head>

 <body>
	<div id="header" class="clearfix">
		<div class="lw">
			<div class="top clearfix">
				<a class="logo left" href="/">我爱好爱网</a>
				<ul class="nav">
					<li><a href="/admin/index" id="navhome">后台首页</a></li>
					<li><a href="/admin/production" id="navproduction">商品管理</a></li>
					<li><a href="/admin/news" id="navnews">最新动态</a></li>
					<li><a href="/admin/know" id="navknow">专业知识</a></li>
					<li><a href="/admin/info" id="navinfo">文章管理</a></li>
					<li><a href="/admin/member" id="navmember">会员列表</a></li>
				</ul>
				<div class="right account">
				<?if($this->auth->loged):?>
					<?=$this->auth->uname?>，欢迎您来到我爱好爱网！[<a href="/sign/out" class="asign">退出</a>]
				<?else:?>
					您好，欢迎来到我爱好爱网！[<a href="/sign" class="asign">请登录</a>]，新用户？[<a href="/sign" class="asign" target="_blank">免费注册</a>]
				<?endif?>
			</div>
			</div>
			
		</div>
	</div>
<script type="text/javascript"><!-- 
$(document).ready(function() {
	var urlHalves = String(document.location).toLowerCase().split('/');
	var route = '';
	if (urlHalves[4]) {
		route = urlHalves[4];
	}
	if(route == 'production' || route == 'news' || route == 'know' || route == 'info' | route == 'rese' || route == 'member'){
		$("#nav"+route).addClass('on');
	}else{
		$("#navhome").addClass('on');
	}
});
//--></script>